package com.abe.bathsystem.widget.dialog;

import com.abe.bathsystem.entity.http.HttpBathPosStateEntity;
import com.abe.bathsystem.entity.http.HttpNoticeEntity;

public class DialogContract {
    public interface OnChooseFileListener {
        void onChooseLog(String fileName);
    }

    public interface OnLoginListener {
        void onLoginUser(String phone, String password, HttpBathPosStateEntity posStateEntity);
    }

    public interface OnSetSerialPortListener {
        void onSetSerialPort(String serialPortName);
    }

    public interface OnSettingCheckListener {
        void onCheckSuccess(boolean isSuccess);
    }

    public interface OnSetServiceUrlListener {
        void onSetUrl(String url);
    }

    public interface OnSupportLockerListener {
        void onSupportLocker(boolean isSupport);
    }

    public interface OnSupportLimitBathListener {
        void onSupportLimitBath(boolean isSupport);
    }

    public interface OnSetTestSerialPosListener {
        void onSetEnd();
    }

    public interface OnUpdateListener {
        void onUpdate(boolean isUpdate, String url);
    }

    public interface OnSerialPortSetAddressListener {
        void onSendCommand(int pos);
    }

    public interface OnChooseNoticeListener {
        void onChoose(HttpNoticeEntity entity);
    }
}
